package com.jiyun.fegin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiyun.Result;
import com.jiyun.pojo.day02.CourseDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author weiyuanhang
 * @data: 2023/8/23 002316:40
 * @Package cn.jiyun.service
 * @email 3185757326@qq.com
 */
@FeignClient(value = "day09Course")
public interface CourseFigenService {
    @GetMapping("/course/findCountId")
    public Integer findCountId();
    @RequestMapping("/course/findCourse")
    public Result findCourse();
    @RequestMapping("/course/findZXCourse")
    public  Result findZXCourse(@RequestBody CourseDTO courseDTO);
    @RequestMapping("/course/findCourse2")
    public Result findCourse2(@RequestBody CourseDTO courseDTO);
    @RequestMapping("/course/findZRCourse")
    public  Result findZRCourse(@RequestBody CourseDTO courseDTO);
}
